package org.example.controller;

import cn.lingyangwl.framework.core.response.Resp;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.UUID;

/**
 * @author shenguangyang
 */
@RestController
@RequestMapping("/api")
public class TestController {

    @GetMapping("/test1")
    public Resp<String> test1() {
        return Resp.ok("test1--" + UUID.randomUUID());
    }
}
